<?php

declare(strict_types=1);

use App\Model\Enums\Config\GroupCode;
use App\Model\ProjectConfig;
use Hyperf\Database\Seeders\Seeder;

class ProjectConfigSeeder20250606 extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        ProjectConfig::truncate();
        ProjectConfig::create([
            'group_code' => GroupCode::SYSTEM,
            'key' => 'app_name',
            'value' => env('APP_NAME', 'ai-attractions'),
            'description' => '项目名'
        ]);
    }
}
